Range Sum Query And Inversion Count Using Bit | Part 2